﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainCont.Master" AutoEventWireup="true"
    CodeBehind="UserInfo.aspx.cs" Inherits="Thksoft.BusinessExpansion.Business.UserInfo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="/Scripts/jquery.1.11.1.js" type="text/javascript"></script>
    <script type="text/javascript">
        //关闭页面
        function FORM_CLOSE() {

            var index = top.layer.getFrameIndex(window.name); //获取窗口索引
            try {
                top.$("#layui-layer" + index + " .layui-layer-close").click();
            } catch (e) {
                //强制关闭页面
                try {
                    top.layer.close(index);
                } catch (e) {

                }
            }
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td valign="top">
                <div class="main_show_show">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%" class="table">
                        <tr>
                            <td align="right" style="width: 40%;">登录名：
                            </td>
                            <td align="left" style="padding-left: 10px;">
                                <asp:Label ID="FORM_LOGIN_NAME" runat="server" Text="Label" CssClass="lblName"></asp:Label>
                            </td>
                            <td align="right" style="width: 40%;">登录时间：
                            </td>
                            <td align="left" style="padding-left: 10px;">
                                <asp:Label ID="FORM_LOGIN_DATE" runat="server" Text="" CssClass="lblName"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 40%;">用户名：
                            </td>
                            <td align="left" style="padding-left: 10px;">
                                <asp:TextBox ID="FORM_USER_NAME" runat="server" CssClass="lblName" Width="178px"></asp:TextBox>
                            </td>
                            <td align="right" style="width: 40%;">身份证号码：
                            </td>
                            <td align="left" style="padding-left: 10px;">
                                <asp:TextBox ID="txtIdCard" runat="server" CssClass="lblName" Width="178px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">性别：
                            </td>
                            <td align="left" style="padding-left: 10px;">
                                <asp:DropDownList ID="FORM_SEX" CssClass="lblName" runat="server" Width="180px">
                                    <asp:ListItem Value="-1">---请选择---</asp:ListItem>
                                    <asp:ListItem Value="0">女</asp:ListItem>
                                    <asp:ListItem Value="1">男</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                            <td align="right" style="width: 40%;">工作状态：
                            </td>
                            <td align="left" style="padding-left: 10px;">
                                <asp:DropDownList ID="FORM_JOB_STATUS" CssClass="lblName" runat="server" Width="180px">
                                    <asp:ListItem Value="-1">---请选择---</asp:ListItem>
                                    <asp:ListItem Value="0">离职</asp:ListItem>
                                    <asp:ListItem Value="1">在职</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">联系电话：
                            </td>
                            <td align="left" style="padding-left: 10px;">
                                <asp:TextBox ID="FORM_PHONE" CssClass="txt_input" runat="server" Width="178px"></asp:TextBox>
                            </td>
                            <td align="right" style="width: 40%;">所属部门：
                            </td>
                            <td align="left" style="padding-left: 10px;">
                                <asp:DropDownList ID="FORM_DEPARTMENT_NAME" runat="server" Width="180px">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 40%;">用户状态：
                            </td>
                            <td align="left" style="padding-left: 10px;">
                                <asp:DropDownList runat="server" ID="drpLoginState" Width="180px">
                                    <asp:ListItem Value="-1">---请选择---</asp:ListItem>
                                    <asp:ListItem Value="1">允许登录</asp:ListItem>
                                    <asp:ListItem Value="0">不允许</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                            <td align="right" style="width: 40%;">是否在线：
                            </td>
                            <td align="left" style="padding-left: 10px;">
                                <asp:DropDownList runat="server" ID="drpOnlineState" Width="180px">
                                    <asp:ListItem Value="-1">---请选择---</asp:ListItem>
                                    <asp:ListItem Value="1">在线</asp:ListItem>
                                    <asp:ListItem Value="0">不在线</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 40%;">所属公司：
                            </td>
                            <td align="left" style="padding-left: 10px;">
                                <uc2:CtrlCompany Width="180px" runat="server" ID="FORM_COMPANY_NAME" />
                            </td>
                            <td align="right" style="width: 40%;">岗位：
                            </td>
                            <%
                                var str = "top.MessageBox.OpenRole({Window:window,Type:3,TextID:'" + FORM_ROLE_STRING.ClientID + "',ValueID:'" + FORM_ROLE_IDS.ClientID + "'});";
                            %>
                            <td align="left" style="padding-left: 10px; width: 60%">

                                <asp:TextBox ID="FORM_ROLE_STRING" CssClass="txt_input" Width="180px" runat="server"
                                    OnClick="$(this).parent().find('img').click();"
                                    Text="请选择角色"></asp:TextBox>
                                <img src="/Images/levelFour_01.jpg" id="imgID" title="角色组选择" alt=""
                                    onclick="<%=str %>" />
                                <asp:HiddenField ID="FORM_ROLE_IDS" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 40%;">备注：
                            </td>
                            <td align="left" colspan="3" style="padding-left: 10px; width: 60%">
                                <asp:TextBox ID="txtRemark" TextMode="MultiLine" Height="40" CssClass="lblName" runat="server"
                                    Width="534px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td style="padding-left: 40%;" colspan="4">
                                <asp:Button ID="btnSave" runat="server" CssClass="bt_css_s" Text="保存" OnClick="Save_Click" />&nbsp;&nbsp;
                                <asp:Button ID="btnCancle" CssClass="bt_css_s" runat="server" Text="返回" OnClick="btnCancle_Click" />
                            </td>
                        </tr>
                    </table>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>